[INFO] cloning repository https://github.com/ptmalloc/rcoreLearn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ptmalloc/rcoreLearn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptmalloc%2FrcoreLearn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptmalloc%2FrcoreLearn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3b648c7d8ebfe4dc0f1a221c0f7375088c6f91cf
[INFO] checking ptmalloc/rcoreLearn against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptmalloc%2FrcoreLearn" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ptmalloc/rcoreLearn on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-7/source/.cargo/config
[INFO] started tweaking git repo https://github.com/ptmalloc/rcoreLearn
[INFO] finished tweaking git repo https://github.com/ptmalloc/rcoreLearn
[INFO] tweaked toml for git repo https://github.com/ptmalloc/rcoreLearn written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/ptmalloc/rcoreLearn already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 93725139ec0813cb46a89849347c833c6edf3dbfa17672114fb773646c30462f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "93725139ec0813cb46a89849347c833c6edf3dbfa17672114fb773646c30462f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93725139ec0813cb46a89849347c833c6edf3dbfa17672114fb773646c30462f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93725139ec0813cb46a89849347c833c6edf3dbfa17672114fb773646c30462f", kill_on_drop: false }`
[INFO] [stdout] 93725139ec0813cb46a89849347c833c6edf3dbfa17672114fb773646c30462f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7bfa3195433de2dab8ac2074b3839284586d655a576b204ffa80e9d7e1c63b17
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7bfa3195433de2dab8ac2074b3839284586d655a576b204ffa80e9d7e1c63b17", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling riscv-target v0.1.2
[INFO] [stderr]    Compiling riscv v0.6.0 (https://github.com/rcore-os/riscv#21e32ee1)
[INFO] [stderr]     Checking os v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `self`, `sepc`
[INFO] [stdout]  --> src/interrupt.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |         self,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     sepc,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/interrupt.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |         if (TICKS == 100) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Page`, `PhysAddr`, `VirtAddr`
[INFO] [stdout]  --> src/memory/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     VirtAddr,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 4 |     PhysAddr,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 5 |     Page,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/memory/frame_allocator.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |         for i in (1..(self.m << 1)) { self.a[i] = 1; }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/memory/frame_allocator.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |         for i in (1..self.n) { self.a[self.m + i] = 0; }
[INFO] [stdout]    |                  ^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self`, `sepc`
[INFO] [stdout]  --> src/interrupt.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |         self,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     sepc,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/interrupt.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |         if (TICKS == 100) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Page`, `PhysAddr`, `VirtAddr`
[INFO] [stdout]  --> src/memory/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     VirtAddr,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 4 |     PhysAddr,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 5 |     Page,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/memory/frame_allocator.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |         for i in (1..(self.m << 1)) { self.a[i] = 1; }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/memory/frame_allocator.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |         for i in (1..self.n) { self.a[self.m + i] = 0; }
[INFO] [stdout]    |                  ^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]  --> src/lang_items.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]   = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/af3c6e733a40e671550e0f0f5aeecaa13772ba56/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-faa3fd6c69b73b7d.rlib
[INFO] [stdout]   = note: second definition in the local crate (`os`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `os`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "7bfa3195433de2dab8ac2074b3839284586d655a576b204ffa80e9d7e1c63b17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bfa3195433de2dab8ac2074b3839284586d655a576b204ffa80e9d7e1c63b17", kill_on_drop: false }`
[INFO] [stdout] 7bfa3195433de2dab8ac2074b3839284586d655a576b204ffa80e9d7e1c63b17
